package com.hctforgreen.greenservice.model;

import com.hctforgreen.greenservice.threeLevelList.customAnnotations.TreeNodeBookEntity;
import com.hctforgreen.greenservice.threeLevelList.customAnnotations.TreeNodeChildSeriesEntity;
import com.hctforgreen.greenservice.threeLevelList.customAnnotations.TreeNodeCounts;
import com.hctforgreen.greenservice.threeLevelList.customAnnotations.TreeNodeId;
import com.hctforgreen.greenservice.threeLevelList.customAnnotations.TreeNodeLabel;
import com.hctforgreen.greenservice.threeLevelList.customAnnotations.TreeNodePid;
import com.hctforgreen.greenservice.threeLevelList.customAnnotations.TreeNodeSeriesEntity;
import com.hctforgreen.greenservice.threeLevelList.customAnnotations.TreeNodeSize;

/**
 * Created by 390694 on 2016/11/28.
 */
public class SeriesForNodeEntity {

    /**
     * 2016-11-25 390694
     * 注解
     */
    @TreeNodeId
    public String id = "";
    @TreeNodeLabel
    public String bookName = "";
    @TreeNodePid
    public String Pid = "";
    @TreeNodeSize
    public String bookSize = "";
    @TreeNodeCounts
    public int seriesCounts ;
    @TreeNodeSeriesEntity
    public SerieListEntity.SerieEntity serieEntity ;
    @TreeNodeBookEntity
    public BookListEntity.BookEntity bookEntity ;
    @TreeNodeChildSeriesEntity
    public SerieListEntity.ChildSerieEntity childSerieEntity ;

    /**
     * 2016-11-25 390694
     * 修改下载管理控件时，添加数据的构造函数
     */
    public SeriesForNodeEntity(String id, String Pid, String name, String bookSize, int seriesCounts) {
        this.id = id;
        this.Pid = Pid;
        this.bookName = name;
        this.bookSize = bookSize;
        this.seriesCounts = seriesCounts;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public String getPid() {
        return Pid;
    }

    public void setPid(String pid) {
        Pid = pid;
    }

    public String getBookSize() {
        return bookSize;
    }

    public void setBookSize(String bookSize) {
        this.bookSize = bookSize;
    }

    public int getSeriesCounts() {
        return seriesCounts;
    }

    public void setSeriesCounts(int seriesCounts) {
        this.seriesCounts = seriesCounts;
    }

    public SerieListEntity.SerieEntity getSerieEntity() {
        return serieEntity;
    }

    public void setSerieEntity(SerieListEntity.SerieEntity serieEntity) {
        this.serieEntity = serieEntity;
    }

    public SerieListEntity.ChildSerieEntity getChildSerieEntity() {
        return childSerieEntity;
    }

    public void setChildSerieEntity(SerieListEntity.ChildSerieEntity childSerieEntity) {
        this.childSerieEntity = childSerieEntity;
    }

    public BookListEntity.BookEntity getBookEntity() {
        return bookEntity;
    }

    public void setBookEntity(BookListEntity.BookEntity bookEntity) {
        this.bookEntity = bookEntity;
    }
}
